package com.quad.innovators.salesease.annotation;


import java.lang.annotation.*;

/**
 * 数据权限注解
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DataPermission {

    /**
     * 数据权限 {@link com.baomidou.mybatisplus.extension.plugins.inner.DataPermissionInterceptor}
     */
    String userAlias() default "";

    String userIdColumnName() default "create_user_id";

    String permissionCode() default "";

}
